home *** CD-ROM | disk | FTP | other *** search
/ Champak 140 / (Vol 140) Sep 19 2011.iso / Games / red_cross_eru.swf / scripts / __Packages / gamebase / plane / Antonov.as < prev    next >
Text File  |  2011-09-19  |  12KB  |  272 lines

  1. §§push(true);
  2. §§push(false);
  3. §§push(false);
  4. §§push(true);
  5. while(true)
  6. {
  7.    if(┬º┬ºpop())
  8.    {
  9.    }
  10.    if(┬º┬ºpop())
  11.    {
  12.    }
  13.    if(┬º┬ºpop())
  14.    {
  15.       break;
  16.    }
  17.    ┬º┬ºpush(true);
  18.    ┬º┬ºpush(false);
  19. }
  20. if(!e.f)
  21. {
  22.    e.f = new g();
  23. }
  24. §§pop();
  25. if(!e.f.h)
  26. {
  27.    e.f.h = new g();
  28. }
  29. §§pop();
  30. if(!e.f.h[§§constant(4)])
  31. {
  32.    f.h[┬º┬ºconstant(4)] extends f[┬º┬ºconstant(12)];
  33.    var _loc2_ = f.h[┬º┬ºconstant(4)] = function(iObj)
  34.    {
  35.       super();
  36.       this[┬º┬ºconstant(5)] = iObj;
  37.       this[┬º┬ºconstant(6)] = ┬º┬ºconstant(4);
  38.       this[┬º┬ºconstant(7)] = this[┬º┬ºconstant(5)][┬º┬ºconstant(7)][┬º┬ºconstant(8)]();
  39.       _global[┬º┬ºconstant(9)] = this;
  40.       _global[┬º┬ºconstant(10)] = 0;
  41.       this[┬º┬ºconstant(11)]();
  42.    }[┬º┬ºconstant(13)];
  43.    _loc2_[┬º┬ºconstant(11)] = function()
  44.    {
  45.       this[┬º┬ºconstant(14)] = 150;
  46.       this[┬º┬ºconstant(15)] = 9;
  47.       this[┬º┬ºconstant(16)] = 1.5;
  48.       this[┬º┬ºconstant(17)] = 60;
  49.       this[┬º┬ºconstant(18)] = -5;
  50.       this[┬º┬ºconstant(19)] = 6;
  51.       this[┬º┬ºconstant(20)] = 0;
  52.       this[┬º┬ºconstant(21)] = this[┬º┬ºconstant(22)] = 0;
  53.       this[┬º┬ºconstant(23)] = [{┬º\┬º\┬ºconstant(24)┬º:-19,┬º\┬º\┬ºconstant(25)┬º:3},{┬º\┬º\┬ºconstant(24)┬º:-18,┬º\┬º\┬ºconstant(25)┬º:24},{┬º\┬º\┬ºconstant(24)┬º:19,┬º\┬º\┬ºconstant(25)┬º:3},{┬º\┬º\┬ºconstant(24)┬º:18,┬º\┬º\┬ºconstant(25)┬º:24}];
  54.       this[┬º┬ºconstant(26)] = ┬º┬ºconstant(27);
  55.       this[┬º┬ºconstant(28)] = _global[┬º┬ºconstant(29)][┬º┬ºconstant(30)](this[┬º┬ºconstant(26)]);
  56.       this[┬º┬ºconstant(31)]();
  57.    };
  58.    _loc2_[┬º┬ºconstant(32)] = function()
  59.    {
  60.       if(this[┬º┬ºconstant(33)] == undefined)
  61.       {
  62.          if(this[┬º┬ºconstant(34)] == undefined)
  63.          {
  64.             return undefined;
  65.          }
  66.          if(_global[┬º┬ºconstant(35)] == undefined)
  67.          {
  68.             return undefined;
  69.          }
  70.          if(_global[┬º┬ºconstant(36)] < this[┬º┬ºconstant(34)])
  71.          {
  72.             return undefined;
  73.          }
  74.          this[┬º┬ºconstant(37)]();
  75.       }
  76.       this[┬º┬ºconstant(38)]();
  77.       this[┬º┬ºconstant(24)] += this[┬º┬ºconstant(40)](this[┬º┬ºconstant(20)] * this[┬º┬ºconstant(39)] / 180) * this[┬º┬ºconstant(15)];
  78.       this[┬º┬ºconstant(25)] -= this[┬º┬ºconstant(41)](this[┬º┬ºconstant(20)] * this[┬º┬ºconstant(39)] / 180) * this[┬º┬ºconstant(15)];
  79.       if(this[┬º┬ºconstant(21)] != this[┬º┬ºconstant(22)])
  80.       {
  81.          this[┬º┬ºconstant(21)] += this[┬º┬ºconstant(21)] >= this[┬º┬ºconstant(22)] ? -1 : 1;
  82.       }
  83.       if(!this[┬º┬ºconstant(42)])
  84.       {
  85.          if(f[┬º┬ºconstant(44)][┬º┬ºconstant(45)][┬º┬ºconstant(46)](this[┬º┬ºconstant(24)],this[┬º┬ºconstant(25)],this[┬º┬ºconstant(43)][┬º┬ºconstant(24)],this[┬º┬ºconstant(43)][┬º┬ºconstant(25)]) < 400)
  86.          {
  87.             this[┬º┬ºconstant(47)]();
  88.          }
  89.       }
  90.       if(this[┬º┬ºconstant(33)] == ┬º┬ºconstant(48))
  91.       {
  92.          if(f[┬º┬ºconstant(44)][┬º┬ºconstant(45)][┬º┬ºconstant(46)](this[┬º┬ºconstant(24)],this[┬º┬ºconstant(25)],this[┬º┬ºconstant(43)][┬º┬ºconstant(24)],this[┬º┬ºconstant(43)][┬º┬ºconstant(25)]) < 100)
  93.          {
  94.             this[┬º┬ºconstant(49)]();
  95.          }
  96.       }
  97.       else if(this[┬º┬ºconstant(33)] == ┬º┬ºconstant(49))
  98.       {
  99.          if(f[┬º┬ºconstant(44)][┬º┬ºconstant(45)][┬º┬ºconstant(46)](this[┬º┬ºconstant(24)],this[┬º┬ºconstant(25)],this[┬º┬ºconstant(43)][┬º┬ºconstant(24)],this[┬º┬ºconstant(43)][┬º┬ºconstant(25)]) < 100)
  100.          {
  101.             this[┬º┬ºconstant(31)]();
  102.             this[┬º┬ºconstant(33)] = undefined;
  103.          }
  104.       }
  105.       this[┬º┬ºconstant(50)]();
  106.    };
  107.    _loc2_[┬º┬ºconstant(51)] = function(itemType)
  108.    {
  109.       if(_global[┬º┬ºconstant(52)][┬º┬ºconstant(53)](itemType))
  110.       {
  111.          return undefined;
  112.       }
  113.       if(this[┬º┬ºconstant(33)] != undefined)
  114.       {
  115.          return undefined;
  116.       }
  117.       this[┬º┬ºconstant(54)] = [{┬º\┬º\┬ºconstant(55)┬º:itemType,┬º\┬º\┬ºconstant(56)┬º:┬º┬ºconstant(57),┬º\┬º\┬ºconstant(58)┬º:3}];
  118.       this[┬º┬ºconstant(34)] = _global[┬º┬ºconstant(36)] - 10;
  119.       var _loc3_ = ┬º┬ºconstant(59) + itemType[┬º┬ºconstant(60)]();
  120.       f[┬º┬ºconstant(62)][┬º┬ºconstant(63)][┬º┬ºconstant(64)](_global[_loc3_],false,┬º┬ºconstant(61));
  121.       _global[┬º┬ºconstant(10)] += 1502;
  122.    };
  123.    _loc2_[┬º┬ºconstant(31)] = function()
  124.    {
  125.       var _loc2_ = this[┬º┬ºconstant(7)][┬º┬ºconstant(65)]();
  126.       if(_loc2_ == undefined)
  127.       {
  128.          this[┬º┬ºconstant(34)] = undefined;
  129.          return undefined;
  130.       }
  131.       this[┬º┬ºconstant(34)] = _loc2_[┬º┬ºconstant(34)];
  132.       this[┬º┬ºconstant(54)] = _loc2_[┬º┬ºconstant(54)][┬º┬ºconstant(8)]();
  133.    };
  134.    _loc2_[┬º┬ºconstant(37)] = function()
  135.    {
  136.       this[┬º┬ºconstant(24)] = -500;
  137.       this[┬º┬ºconstant(25)] = -500;
  138.       this[┬º┬ºconstant(43)] = _global[┬º┬ºconstant(35)];
  139.       this[┬º┬ºconstant(42)] = false;
  140.       this[┬º┬ºconstant(33)] = ┬º┬ºconstant(48);
  141.    };
  142.    _loc2_[┬º┬ºconstant(49)] = function()
  143.    {
  144.       this[┬º┬ºconstant(43)] = {┬º\┬º\┬ºconstant(24)┬º:-500,┬º\┬º\┬ºconstant(25)┬º:-500};
  145.       this[┬º┬ºconstant(33)] = ┬º┬ºconstant(49);
  146.    };
  147.    _loc2_[┬º┬ºconstant(47)] = function()
  148.    {
  149.       var _loc6_ = _global[┬º┬ºconstant(66)] + ┬º┬ºconstant(67);
  150.       this[┬º┬ºconstant(42)] = true;
  151.       var _loc7_ = this[┬º┬ºconstant(54)][┬º┬ºconstant(68)];
  152.       var _loc5_ = 0;
  153.       while(_loc5_ < _loc7_)
  154.       {
  155.          var _loc4_ = this[┬º┬ºconstant(54)][_loc5_];
  156.          _loc6_ += _loc4_[┬º┬ºconstant(58)] + ┬º┬ºconstant(67) + _global[┬º┬ºconstant(69) + _loc4_[┬º┬ºconstant(55)]] + ┬º┬ºconstant(67);
  157.          var _loc3_ = 1;
  158.          while(_loc3_ <= _loc4_[┬º┬ºconstant(58)])
  159.          {
  160.             f[┬º┬ºconstant(44)][┬º┬ºconstant(73)][┬º┬ºconstant(74)](this,this[┬º┬ºconstant(72)],eval(┬º┬ºconstant(70))[┬º┬ºconstant(71)]() * 2500);
  161.             _loc3_ = _loc3_ + 1;
  162.          }
  163.          _loc5_ = _loc5_ + 1;
  164.       }
  165.       f[┬º┬ºconstant(62)][┬º┬ºconstant(63)][┬º┬ºconstant(64)](_loc6_,false,┬º┬ºconstant(61));
  166.       f[┬º┬ºconstant(44)][┬º┬ºconstant(73)][┬º┬ºconstant(74)](this,this[┬º┬ºconstant(75)],3000);
  167.    };
  168.    _loc2_[┬º┬ºconstant(72)] = function()
  169.    {
  170.       var _loc4_ = eval(┬º┬ºconstant(70))[┬º┬ºconstant(76)](eval(┬º┬ºconstant(70))[┬º┬ºconstant(71)]() * this[┬º┬ºconstant(23)][┬º┬ºconstant(68)]);
  171.       var _loc3_ = this[┬º┬ºconstant(23)][_loc4_];
  172.       var _loc2_ = f[┬º┬ºconstant(44)][┬º┬ºconstant(45)][┬º┬ºconstant(77)](this[┬º┬ºconstant(24)],this[┬º┬ºconstant(25)],_loc3_[┬º┬ºconstant(24)],_loc3_[┬º┬ºconstant(25)],this[┬º┬ºconstant(20)]);
  173.       _loc2_[┬º┬ºconstant(55)] = ┬º┬ºconstant(78);
  174.       _loc2_[┬º┬ºconstant(20)] = this[┬º┬ºconstant(20)];
  175.       _loc2_[┬º┬ºconstant(15)] = this[┬º┬ºconstant(15)];
  176.       _loc2_[┬º┬ºconstant(14)] = this[┬º┬ºconstant(14)];
  177.       f[┬º┬ºconstant(62)][┬º┬ºconstant(63)][┬º┬ºconstant(79)](_loc2_);
  178.    };
  179.    _loc2_[┬º┬ºconstant(75)] = function()
  180.    {
  181.       var _loc9_ = this[┬º┬ºconstant(54)][┬º┬ºconstant(68)];
  182.       var _loc7_ = 0;
  183.       while(_loc7_ < _loc9_)
  184.       {
  185.          var _loc3_ = this[┬º┬ºconstant(54)][_loc7_];
  186.          var _loc5_ = _loc3_[┬º┬ºconstant(56)] != ┬º┬ºconstant(80) ? (_loc3_[┬º┬ºconstant(56)] != ┬º┬ºconstant(81) ? _global[┬º┬ºconstant(35)][┬º┬ºconstant(82)] : _global[┬º┬ºconstant(35)][┬º┬ºconstant(83)]) : _global[┬º┬ºconstant(35)][┬º┬ºconstant(84)];
  187.          var _loc4_ = 1;
  188.          while(_loc4_ <= _loc3_[┬º┬ºconstant(58)])
  189.          {
  190.             if(_loc3_[┬º┬ºconstant(56)] == ┬º┬ºconstant(80))
  191.             {
  192.                _loc5_[┬º┬ºconstant(85)]({┬º\┬º\┬ºconstant(55)┬º:_loc3_[┬º┬ºconstant(55)]});
  193.             }
  194.             else
  195.             {
  196.                var _loc6_ = f[┬º┬ºconstant(62)][┬º┬ºconstant(63)][┬º┬ºconstant(86)](_loc3_[┬º┬ºconstant(55)]);
  197.                _loc5_[┬º┬ºconstant(85)](_loc6_());
  198.             }
  199.             _loc4_ = _loc4_ + 1;
  200.          }
  201.          _loc7_ = _loc7_ + 1;
  202.       }
  203.       _global[┬º┬ºconstant(87)][┬º┬ºconstant(88)]();
  204.    };
  205.    _loc2_[┬º┬ºconstant(50)] = function()
  206.    {
  207.       var _loc3_ = 0;
  208.       var _loc4_ = f[┬º┬ºconstant(44)][┬º┬ºconstant(45)][┬º┬ºconstant(46)](this[┬º┬ºconstant(24)],this[┬º┬ºconstant(25)],_global[┬º┬ºconstant(89)][┬º┬ºconstant(24)],_global[┬º┬ºconstant(89)][┬º┬ºconstant(25)]);
  209.       if(_loc4_ < 500)
  210.       {
  211.          _loc3_ = this[┬º┬ºconstant(33)] == undefined ? 0 : 50 - 50 * _loc4_ / 500;
  212.          this[┬º┬ºconstant(90)]();
  213.       }
  214.       else if(this[┬º┬ºconstant(91)])
  215.       {
  216.          this[┬º┬ºconstant(92)]();
  217.       }
  218.       if(_loc3_ != _global[┬º┬ºconstant(29)][this[┬º┬ºconstant(28)]][┬º┬ºconstant(93)]())
  219.       {
  220.          _global[┬º┬ºconstant(29)][┬º┬ºconstant(94)](this[┬º┬ºconstant(28)],_loc3_,10);
  221.       }
  222.    };
  223.    _loc2_[┬º┬ºconstant(90)] = function()
  224.    {
  225.       if(!this[┬º┬ºconstant(91)])
  226.       {
  227.          this[┬º┬ºconstant(95)]();
  228.       }
  229.       this[┬º┬ºconstant(91)][┬º┬ºconstant(96)] = this[┬º┬ºconstant(24)] - _global[┬º┬ºconstant(89)][┬º┬ºconstant(97)];
  230.       this[┬º┬ºconstant(91)][┬º┬ºconstant(98)] = this[┬º┬ºconstant(25)] - _global[┬º┬ºconstant(89)][┬º┬ºconstant(99)];
  231.       var _loc3_ = new eval(┬º┬ºconstant(100))[┬º┬ºconstant(101)][┬º┬ºconstant(102)](this[┬º┬ºconstant(91)][┬º┬ºconstant(96)] - this[┬º┬ºconstant(14)],this[┬º┬ºconstant(91)][┬º┬ºconstant(98)] + this[┬º┬ºconstant(14)]);
  232.       this[┬º┬ºconstant(91)][┬º┬ºconstant(103)](_loc3_);
  233.       this[┬º┬ºconstant(91)][┬º┬ºconstant(104)][┬º┬ºconstant(96)] = _loc3_[┬º┬ºconstant(24)];
  234.       this[┬º┬ºconstant(91)][┬º┬ºconstant(104)][┬º┬ºconstant(98)] = _loc3_[┬º┬ºconstant(25)];
  235.       this[┬º┬ºconstant(91)][┬º┬ºconstant(105)][┬º┬ºconstant(106)] = this[┬º┬ºconstant(91)][┬º┬ºconstant(104)][┬º┬ºconstant(106)] = this[┬º┬ºconstant(20)];
  236.       this[┬º┬ºconstant(91)][┬º┬ºconstant(104)][┬º┬ºconstant(107)] = 60 + (40 - 40 * eval(┬º┬ºconstant(70))[┬º┬ºconstant(108)](this[┬º┬ºconstant(21)] / this[┬º┬ºconstant(19)]));
  237.       this[┬º┬ºconstant(91)][┬º┬ºconstant(105)][┬º┬ºconstant(111)][┬º┬ºconstant(112)][┬º┬ºconstant(113)](┬º┬ºconstant(109) + this[┬º┬ºconstant(21)][┬º┬ºconstant(110)]());
  238.    };
  239.    _loc2_[┬º┬ºconstant(95)] = function()
  240.    {
  241.       var _loc3_ = f[┬º┬ºconstant(44)][┬º┬ºconstant(114)][┬º┬ºconstant(115)](_global[┬º┬ºconstant(62)][┬º┬ºconstant(91)],this);
  242.       this[┬º┬ºconstant(91)] = _global[┬º┬ºconstant(62)][┬º┬ºconstant(91)][┬º┬ºconstant(118)](this[┬º┬ºconstant(6)],this[┬º┬ºconstant(117)],_loc3_,{┬º\┬º\┬ºconstant(116)┬º:this});
  243.       this[┬º┬ºconstant(91)][┬º┬ºconstant(105)][┬º┬ºconstant(118)](this[┬º┬ºconstant(6)] + ┬º┬ºconstant(119),┬º┬ºconstant(111),50);
  244.    };
  245.    _loc2_[┬º┬ºconstant(92)] = function()
  246.    {
  247.       this[┬º┬ºconstant(91)][┬º┬ºconstant(120)]();
  248.       delete this[┬º┬ºconstant(91)];
  249.    };
  250.    _loc2_[┬º┬ºconstant(38)] = function()
  251.    {
  252.       var _loc2_ = f[┬º┬ºconstant(44)][┬º┬ºconstant(121)][┬º┬ºconstant(122)](this[┬º┬ºconstant(24)],this[┬º┬ºconstant(25)],this[┬º┬ºconstant(43)][┬º┬ºconstant(24)],this[┬º┬ºconstant(43)][┬º┬ºconstant(25)]);
  253.       var _loc4_ = f[┬º┬ºconstant(44)][┬º┬ºconstant(45)][┬º┬ºconstant(123)](this[┬º┬ºconstant(20)] + 1,_loc2_) >= f[┬º┬ºconstant(44)][┬º┬ºconstant(45)][┬º┬ºconstant(123)](this[┬º┬ºconstant(20)] - 1,_loc2_) ? -1 : 1;
  254.       var _loc3_ = f[┬º┬ºconstant(44)][┬º┬ºconstant(45)][┬º┬ºconstant(124)](this[┬º┬ºconstant(20)] + _loc4_ * this[┬º┬ºconstant(16)]);
  255.       var _loc5_ = f[┬º┬ºconstant(44)][┬º┬ºconstant(45)][┬º┬ºconstant(123)](_loc2_,_loc3_);
  256.       if(_loc5_ <= this[┬º┬ºconstant(16)])
  257.       {
  258.          _loc3_ = _loc2_;
  259.          this[┬º┬ºconstant(22)] = 0;
  260.       }
  261.       else
  262.       {
  263.          var _loc6_ = _loc4_ >= 0 ? this[┬º┬ºconstant(19)] : this[┬º┬ºconstant(18)];
  264.          var _loc7_ = eval(┬º┬ºconstant(70))[┬º┬ºconstant(125)](eval(┬º┬ºconstant(70))[┬º┬ºconstant(108)](100 * _loc5_ / this[┬º┬ºconstant(17)]),100);
  265.          this[┬º┬ºconstant(22)] = eval(┬º┬ºconstant(70))[┬º┬ºconstant(126)](_loc6_ * _loc7_ / 100);
  266.       }
  267.       this[┬º┬ºconstant(20)] = _loc3_;
  268.    };
  269.    ┬º┬ºpush(┬º┬ºconstant(127)(f.h[┬º┬ºconstant(4)][┬º┬ºconstant(13)],null,1));
  270. }
  271. §§pop();
  272.